const _ = require('lodash');
const fp = require('lodash/fp');

console.log(_.map(['1','2','3','4','5'], parse))

function parse(string) {
  return parseInt(string);
}

console.log(fp.map(parseInt, ['1','2','3','4','5']))
